<?php
/**
 * ===============================================
 * 版权所有 2019-2050 青岛铁锤科技有限公司，并保留所有权利。
 * 网站地址: http://www.huaxianling.com
 * ===============================================
 * Author: Happy dong
 * Created Time: 2019-09-17 10:41
 *
 * Version: 2.0
 */

namespace App\Modules\Member\Validators;


class MemberControllerValidator
{
	public static function validator(){
		return [
			'getMostPopularStore' => [
				'adcode' => [
					'title' => "地理位置的编码",
					'rule' => 'nullable',
					'message' => []
				],
				'pageSize' => [
					'title'   => '页面显示条数大小',
					'rule'    => 'nullable|numeric',
					'message' => []
				]
			],
			'getLikePortfolios' => [
				'page_size' => [
					'title'  => '页面显示条数大小',
					'rule'   => 'nullable|numeric',
					'message' => []
				]
			],
			'getNearbyNetRedList' => [
				'adcode' => [
					'title' => "地理位置的编码",
					'rule' => 'nullable',
					'message' => []
				],
				'pageSize' => [
					'title'   => '页面显示条数大小',
					'rule'    => 'nullable|numeric',
					'message' => []
				]
			],
			'homeWxPage' => [
				'store_id' => [
					'title' => "店铺Id",
					'rule' => 'nullable|numeric',
					'message' => []
				],
				'barber_id' => [
					'title'   => '理发师Id',
					'rule'    => 'nullable|numeric',
					'message' => []
				],
				'adcode' => [
					'title' => "地理位置的编码",
					'rule' => 'nullable',
					'message' => []
				],
				'longitude' => [
					'title' => "经度",
					'rule' => 'nullable',
					'message' => []
				],
				'latitude' => [
					'title' => "纬度",
					'rule' => 'nullable',
					'message' => []
				],
				'page_size' => [
					'title'   => '页面显示条数大小',
					'rule'    => 'nullable|numeric',
					'message' => []
				],
				'keywords' => [
					'title'   => '查询关键字',
					'rule'    => 'nullable',
					'message' => []
				]
			]
		];
	}
}